package com.ztesoft.sca.service;

import java.util.List;

import com.ztesoft.sca.model.user.ImOrganizationPo;
import org.springframework.stereotype.Service;

import com.ztesoft.sca.dao.ImAreaDao;
import com.ztesoft.sca.model.ImAreaDto;

@Service
public class ImAreaServiceImpl implements ImAreaService{
  private ImAreaDao imAreaDao;

	@Override
	public List<ImAreaDto> listImArea(ImAreaDto imArea, int from, int size) throws Exception {
		return imAreaDao.listImArea(imArea, from, size);
	}
	
	@Override
	public List<ImOrganizationPo> listImAreaOrg(ImAreaDto imArea, int from, int size) throws Exception {
		return imAreaDao.listImAreaOrg(imArea, from, size);
	}
	
	@Override
	public List<ImAreaDto> listImAreaTree(ImAreaDto imArea) throws Exception {
		return imAreaDao.listImAreaTree(imArea);
	}
	
	@Override
	public void insertImArea(ImAreaDto imArea) throws Exception {
		imAreaDao.insertImArea(imArea);
	}
	
	@Override
	public void delImArea(ImAreaDto imArea) throws Exception {
		imAreaDao.delImArea(imArea);
	}
	
	@Override
	public void modifyImArea(ImAreaDto imArea) throws Exception {
		imAreaDao.modifyImArea(imArea);
	}

	
  
  
}



